-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref: Refactor changelog list page #11019
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
bb10a47
to
dcf71f3
Compare
Bundle ReportChanges will decrease total bundle size by 15 bytes ⬇️
|
}); | ||
|
||
const changelogsWithMdxSummaries = await startSpan( | ||
{name: 'serialize changelog summaries'}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea!
const now = new Date(date).toLocaleDateString('en-EN', { | ||
year: 'numeric', | ||
month: 'long', | ||
day: 'numeric', | ||
timeZone: 'UTC' | ||
}; | ||
const now = new Date(date).toLocaleDateString('en-EN', options); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
l: we could reuse this formatting, or maybe just use day.js?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is slimmer for now!
"cleans up" the changelog list page. This is all a goal to remove hydration errors.